3.457 \(\int \frac {1}{c+\frac {a}{x^6}+\frac {b}{x^3}} \, dx\)

Optimal. Leaf size=631 \[ \frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{b-\sqrt {b^2-4 a c}}+\left (b-\sqrt {b^2-4 a c}\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} c^{4/3} \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}+\frac {\left (\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}+b\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{\sqrt {b^2-4 a c}+b}+\left (\sqrt {b^2-4 a c}+b\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} c^{4/3} \left (\sqrt {b^2-4 a c}+b\right )^{2/3}}-\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \log \left (\sqrt [3]{b-\sqrt {b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} c^{4/3} \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}-\frac {\left (\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}+b\right ) \log \left (\sqrt [3]{\sqrt {b^2-4 a c}+b}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} c^{4/3} \left (\sqrt {b^2-4 a c}+b\right )^{2/3}}+\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt {b^2-4 a c}}}}{\sqrt {3}}\right )}{\sqrt [3]{2} \sqrt {3} c^{4/3} \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}+\frac {\left (\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}+b\right ) \tan ^{-1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b+(-2*a*c+b^2)/(-4*a*c+b^2)^(1/2))*2^(2/3)/c^(4/3)*3^(1/2)/(b+(-4*a*c+b^2)^(1/2))^(2/3)

________________________________________________________________________________________

Rubi [A]  time = 1.17, antiderivative size = 631, normalized size of antiderivative = 1.00, number of steps used = 15, number of rules used = 9, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.643, Rules used = {1340, 1367, 1422, 200, 31, 634, 617, 204, 628} \[ \frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{b-\sqrt {b^2-4 a c}}+\left (b-\sqrt {b^2-4 a c}\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} c^{4/3} \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}+\frac {\left (\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}+b\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{\sqrt {b^2-4 a c}+b}+\left (\sqrt {b^2-4 a c}+b\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} c^{4/3} \left (\sqrt {b^2-4 a c}+b\right )^{2/3}}-\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \log \left (\sqrt [3]{b-\sqrt {b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} c^{4/3} \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}-\frac {\left (\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}+b\right ) \log \left (\sqrt [3]{\sqrt {b^2-4 a c}+b}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} c^{4/3} \left (\sqrt {b^2-4 a c}+b\right )^{2/3}}+\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt {b^2-4 a c}}}}{\sqrt {3}}\right )}{\sqrt [3]{2} \sqrt {3} c^{4/3} \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}+\frac {\left (\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}+b\right ) \tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{\sqrt {b^2-4 a c}+b}}}{\sqrt {3}}\right )}{\sqrt [3]{2} \sqrt {3} c^{4/3} \left (\sqrt {b^2-4 a c}+b\right )^{2/3}}+\frac {x}{c} \]

Antiderivative was successfully verified.

[In]

Int[(c + a/x^6 + b/x^3)^(-1),x]

[Out]

x/c + ((b - (b^2 - 2*a*c)/Sqrt[b^2 - 4*a*c])*ArcTan[(1 - (2*2^(1/3)*c^(1/3)*x)/(b - Sqrt[b^2 - 4*a*c])^(1/3))/
Sqrt[3]])/(2^(1/3)*Sqrt[3]*c^(4/3)*(b - Sqrt[b^2 - 4*a*c])^(2/3)) + ((b + (b^2 - 2*a*c)/Sqrt[b^2 - 4*a*c])*Arc
Tan[(1 - (2*2^(1/3)*c^(1/3)*x)/(b + Sqrt[b^2 - 4*a*c])^(1/3))/Sqrt[3]])/(2^(1/3)*Sqrt[3]*c^(4/3)*(b + Sqrt[b^2
 - 4*a*c])^(2/3)) - ((b - (b^2 - 2*a*c)/Sqrt[b^2 - 4*a*c])*Log[(b - Sqrt[b^2 - 4*a*c])^(1/3) + 2^(1/3)*c^(1/3)
*x])/(3*2^(1/3)*c^(4/3)*(b - Sqrt[b^2 - 4*a*c])^(2/3)) - ((b + (b^2 - 2*a*c)/Sqrt[b^2 - 4*a*c])*Log[(b + Sqrt[
b^2 - 4*a*c])^(1/3) + 2^(1/3)*c^(1/3)*x])/(3*2^(1/3)*c^(4/3)*(b + Sqrt[b^2 - 4*a*c])^(2/3)) + ((b - (b^2 - 2*a
*c)/Sqrt[b^2 - 4*a*c])*Log[(b - Sqrt[b^2 - 4*a*c])^(2/3) - 2^(1/3)*c^(1/3)*(b - Sqrt[b^2 - 4*a*c])^(1/3)*x + 2
^(2/3)*c^(2/3)*x^2])/(6*2^(1/3)*c^(4/3)*(b - Sqrt[b^2 - 4*a*c])^(2/3)) + ((b + (b^2 - 2*a*c)/Sqrt[b^2 - 4*a*c]
)*Log[(b + Sqrt[b^2 - 4*a*c])^(2/3) - 2^(1/3)*c^(1/3)*(b + Sqrt[b^2 - 4*a*c])^(1/3)*x + 2^(2/3)*c^(2/3)*x^2])/
(6*2^(1/3)*c^(4/3)*(b + Sqrt[b^2 - 4*a*c])^(2/3))

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 200

Int[((a_) + (b_.)*(x_)^3)^(-1), x_Symbol] :> Dist[1/(3*Rt[a, 3]^2), Int[1/(Rt[a, 3] + Rt[b, 3]*x), x], x] + Di
st[1/(3*Rt[a, 3]^2), Int[(2*Rt[a, 3] - Rt[b, 3]*x)/(Rt[a, 3]^2 - Rt[a, 3]*Rt[b, 3]*x + Rt[b, 3]^2*x^2), x], x]
 /; FreeQ[{a, b}, x]

Rule 204

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTan[(Rt[-b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[-b, 2]), x] /
; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 617

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*Simplify[(a*c)/b^2]}, Dist[-2/b, Sub
st[Int[1/(q - x^2), x], x, 1 + (2*c*x)/b], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /;
 FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 628

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[(d*Log[RemoveContent[a + b*x +
c*x^2, x]])/b, x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rule 634

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[(2*c*d - b*e)/(2*c), Int[1/(a +
 b*x + c*x^2), x], x] + Dist[e/(2*c), Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] &
& NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] &&  !NiceSqrtQ[b^2 - 4*a*c]

Rule 1340

Int[((a_) + (c_.)*(x_)^(n2_.) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Int[x^(2*n*p)*(c + b/x^n + a/x^(2*n))^p,
x] /; FreeQ[{a, b, c}, x] && EqQ[n2, 2*n] && LtQ[n, 0] && IntegerQ[p]

Rule 1367

Int[((d_.)*(x_))^(m_.)*((a_) + (c_.)*(x_)^(n2_.) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(d^(2*n - 1)*(d*x)
^(m - 2*n + 1)*(a + b*x^n + c*x^(2*n))^(p + 1))/(c*(m + 2*n*p + 1)), x] - Dist[d^(2*n)/(c*(m + 2*n*p + 1)), In
t[(d*x)^(m - 2*n)*Simp[a*(m - 2*n + 1) + b*(m + n*(p - 1) + 1)*x^n, x]*(a + b*x^n + c*x^(2*n))^p, x], x] /; Fr
eeQ[{a, b, c, d, p}, x] && EqQ[n2, 2*n] && NeQ[b^2 - 4*a*c, 0] && IGtQ[n, 0] && GtQ[m, 2*n - 1] && NeQ[m + 2*n
*p + 1, 0] && IntegerQ[p]

Rule 1422

Int[((d_) + (e_.)*(x_)^(n_))/((a_) + (b_.)*(x_)^(n_) + (c_.)*(x_)^(n2_)), x_Symbol] :> With[{q = Rt[b^2 - 4*a*
c, 2]}, Dist[e/2 + (2*c*d - b*e)/(2*q), Int[1/(b/2 - q/2 + c*x^n), x], x] + Dist[e/2 - (2*c*d - b*e)/(2*q), In
t[1/(b/2 + q/2 + c*x^n), x], x]] /; FreeQ[{a, b, c, d, e, n}, x] && EqQ[n2, 2*n] && NeQ[b^2 - 4*a*c, 0] && NeQ
[c*d^2 - b*d*e + a*e^2, 0] && (PosQ[b^2 - 4*a*c] ||  !IGtQ[n/2, 0])

Rubi steps

\begin {align*} \int \frac {1}{c+\frac {a}{x^6}+\frac {b}{x^3}} \, dx &=\int \frac {x^6}{a+b x^3+c x^6} \, dx\\ &=\frac {x}{c}-\frac {\int \frac {a+b x^3}{a+b x^3+c x^6} \, dx}{c}\\ &=\frac {x}{c}-\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \int \frac {1}{\frac {b}{2}-\frac {1}{2} \sqrt {b^2-4 a c}+c x^3} \, dx}{2 c}-\frac {\left (b+\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \int \frac {1}{\frac {b}{2}+\frac {1}{2} \sqrt {b^2-4 a c}+c x^3} \, dx}{2 c}\\ &=\frac {x}{c}-\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \int \frac {1}{\frac {\sqrt [3]{b-\sqrt {b^2-4 a c}}}{\sqrt [3]{2}}+\sqrt [3]{c} x} \, dx}{3 \sqrt [3]{2} c \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}-\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \int \frac {2^{2/3} \sqrt [3]{b-\sqrt {b^2-4 a c}}-\sqrt [3]{c} x}{\frac {\left (b-\sqrt {b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac {\sqrt [3]{c} \sqrt [3]{b-\sqrt {b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{3 \sqrt [3]{2} c \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}-\frac {\left (b+\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \int \frac {1}{\frac {\sqrt [3]{b+\sqrt {b^2-4 a c}}}{\sqrt [3]{2}}+\sqrt [3]{c} x} \, dx}{3 \sqrt [3]{2} c \left (b+\sqrt {b^2-4 a c}\right )^{2/3}}-\frac {\left (b+\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \int \frac {2^{2/3} \sqrt [3]{b+\sqrt {b^2-4 a c}}-\sqrt [3]{c} x}{\frac {\left (b+\sqrt {b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac {\sqrt [3]{c} \sqrt [3]{b+\sqrt {b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{3 \sqrt [3]{2} c \left (b+\sqrt {b^2-4 a c}\right )^{2/3}}\\ &=\frac {x}{c}-\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \log \left (\sqrt [3]{b-\sqrt {b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} c^{4/3} \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}-\frac {\left (b+\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \log \left (\sqrt [3]{b+\sqrt {b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} c^{4/3} \left (b+\sqrt {b^2-4 a c}\right )^{2/3}}+\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \int \frac {-\frac {\sqrt [3]{c} \sqrt [3]{b-\sqrt {b^2-4 a c}}}{\sqrt [3]{2}}+2 c^{2/3} x}{\frac {\left (b-\sqrt {b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac {\sqrt [3]{c} \sqrt [3]{b-\sqrt {b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{6 \sqrt [3]{2} c^{4/3} \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}-\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \int \frac {1}{\frac {\left (b-\sqrt {b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac {\sqrt [3]{c} \sqrt [3]{b-\sqrt {b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{2\ 2^{2/3} c \sqrt [3]{b-\sqrt {b^2-4 a c}}}+\frac {\left (b+\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \int \frac {-\frac {\sqrt [3]{c} \sqrt [3]{b+\sqrt {b^2-4 a c}}}{\sqrt [3]{2}}+2 c^{2/3} x}{\frac {\left (b+\sqrt {b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac {\sqrt [3]{c} \sqrt [3]{b+\sqrt {b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{6 \sqrt [3]{2} c^{4/3} \left (b+\sqrt {b^2-4 a c}\right )^{2/3}}-\frac {\left (b+\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \int \frac {1}{\frac {\left (b+\sqrt {b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac {\sqrt [3]{c} \sqrt [3]{b+\sqrt {b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{2\ 2^{2/3} c \sqrt [3]{b+\sqrt {b^2-4 a c}}}\\ &=\frac {x}{c}-\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \log \left (\sqrt [3]{b-\sqrt {b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} c^{4/3} \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}-\frac {\left (b+\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \log \left (\sqrt [3]{b+\sqrt {b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} c^{4/3} \left (b+\sqrt {b^2-4 a c}\right )^{2/3}}+\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \log \left (\left (b-\sqrt {b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b-\sqrt {b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} c^{4/3} \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}+\frac {\left (b+\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \log \left (\left (b+\sqrt {b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b+\sqrt {b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} c^{4/3} \left (b+\sqrt {b^2-4 a c}\right )^{2/3}}-\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \operatorname {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-\frac {2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt {b^2-4 a c}}}\right )}{\sqrt [3]{2} c^{4/3} \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}-\frac {\left (b+\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \operatorname {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-\frac {2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b+\sqrt {b^2-4 a c}}}\right )}{\sqrt [3]{2} c^{4/3} \left (b+\sqrt {b^2-4 a c}\right )^{2/3}}\\ &=\frac {x}{c}+\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt {b^2-4 a c}}}}{\sqrt {3}}\right )}{\sqrt [3]{2} \sqrt {3} c^{4/3} \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}+\frac {\left (b+\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b+\sqrt {b^2-4 a c}}}}{\sqrt {3}}\right )}{\sqrt [3]{2} \sqrt {3} c^{4/3} \left (b+\sqrt {b^2-4 a c}\right )^{2/3}}-\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \log \left (\sqrt [3]{b-\sqrt {b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} c^{4/3} \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}-\frac {\left (b+\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \log \left (\sqrt [3]{b+\sqrt {b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} c^{4/3} \left (b+\sqrt {b^2-4 a c}\right )^{2/3}}+\frac {\left (b-\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \log \left (\left (b-\sqrt {b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b-\sqrt {b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} c^{4/3} \left (b-\sqrt {b^2-4 a c}\right )^{2/3}}+\frac {\left (b+\frac {b^2-2 a c}{\sqrt {b^2-4 a c}}\right ) \log \left (\left (b+\sqrt {b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b+\sqrt {b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} c^{4/3} \left (b+\sqrt {b^2-4 a c}\right )^{2/3}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.04, size = 70, normalized size = 0.11 \[ \frac {x}{c}-\frac {\text {RootSum}\left [\text {$\#$1}^6 c+\text {$\#$1}^3 b+a\& ,\frac {\text {$\#$1}^3 b \log (x-\text {$\#$1})+a \log (x-\text {$\#$1})}{2 \text {$\#$1}^5 c+\text {$\#$1}^2 b}\& \right ]}{3 c} \]

Antiderivative was successfully verified.

[In]

Integrate[(c + a/x^6 + b/x^3)^(-1),x]

[Out]

x/c - RootSum[a + b*#1^3 + c*#1^6 & , (a*Log[x - #1] + b*Log[x - #1]*#1^3)/(b*#1^2 + 2*c*#1^5) & ]/(3*c)

________________________________________________________________________________________

fricas [B]  time = 2.60, size = 5260, normalized size = 8.34 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c+a/x^6+b/x^3),x, algorithm="fricas")

[Out]

1/6*(4*sqrt(3)*(1/2)^(1/3)*c*(-(b^3 - 2*a*b*c + (b^2*c^4 - 4*a*c^5)*sqrt((b^8 - 8*a*b^6*c + 20*a^2*b^4*c^2 - 1
6*a^3*b^2*c^3 + 4*a^4*c^4)/(b^6*c^8 - 12*a*b^4*c^9 + 48*a^2*b^2*c^10 - 64*a^3*c^11)))/(b^2*c^4 - 4*a*c^5))^(1/
3)*arctan(-1/6*(2*(1/2)^(2/3)*(sqrt(3)*(b^8*c^4 - 13*a*b^6*c^5 + 60*a^2*b^4*c^6 - 112*a^3*b^2*c^7 + 64*a^4*c^8
)*x*sqrt((b^8 - 8*a*b^6*c + 20*a^2*b^4*c^2 - 16*a^3*b^2*c^3 + 4*a^4*c^4)/(b^6*c^8 - 12*a*b^4*c^9 + 48*a^2*b^2*
c^10 - 64*a^3*c^11)) - sqrt(3)*(b^9 - 11*a*b^7*c + 42*a^2*b^5*c^2 - 62*a^3*b^3*c^3 + 24*a^4*b*c^4)*x)*(-(b^3 -
 2*a*b*c + (b^2*c^4 - 4*a*c^5)*sqrt((b^8 - 8*a*b^6*c + 20*a^2*b^4*c^2 - 16*a^3*b^2*c^3 + 4*a^4*c^4)/(b^6*c^8 -
 12*a*b^4*c^9 + 48*a^2*b^2*c^10 - 64*a^3*c^11)))/(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16*a^2*b*c^6
)*sqrt((b^8 - 8*a*b^6*c + 20*a^2*b^4*c^2 - 16*a^3*b^2*c^3 + 4*a^4*c^4)/(b^6*c^8 - 12*a*b^4*c^9 + 48*a^2*b^2*c^
10 - 64*a^3*c^11)))*(-(b^3 - 2*a*b*c + (b^2*c^4 - 4*a*c^5)*sqrt((b^8 - 8*a*b^6*c + 20*a^2*b^4*c^2 - 16*a^3*b^2
*c^3 + 4*a^4*c^4)/(b^6*c^8 - 12*a*b^4*c^9 + 48*a^2*b^2*c^10 - 64*a^3*c^11)))/(b^2*c^4 - 4*a*c^5))^(1/3)) + 2*(
1/2)^(1/3)*c*(-(b^3 - 2*a*b*c - (b^2*c^4 - 4*a*c^5)*sqrt((b^8 - 8*a*b^6*c + 20*a^2*b^4*c^2 - 16*a^3*b^2*c^3 +
4*a^4*c^4)/(b^6*c^8 - 12*a*b^4*c^9 + 48*a^2*b^2*c^10 - 64*a^3*c^11)))/(b^2*c^4 - 4*a*c^5))^(1/3)*log(2*(a*b^4
- 4*a^2*b^2*c + 2*a^3*c^2)*x + (1/2)^(1/3)*(b^6 - 8*a*b^4*c + 18*a^2*b^2*c^2 - 8*a^3*c^3 + (b^5*c^4 - 8*a*b^3*
c^5 + 16*a^2*b*c^6)*sqrt((b^8 - 8*a*b^6*c + 20*a^2*b^4*c^2 - 16*a^3*b^2*c^3 + 4*a^4*c^4)/(b^6*c^8 - 12*a*b^4*c
^9 + 48*a^2*b^2*c^10 - 64*a^3*c^11)))*(-(b^3 - 2*a*b*c - (b^2*c^4 - 4*a*c^5)*sqrt((b^8 - 8*a*b^6*c + 20*a^2*b^
4*c^2 - 16*a^3*b^2*c^3 + 4*a^4*c^4)/(b^6*c^8 - 12*a*b^4*c^9 + 48*a^2*b^2*c^10 - 64*a^3*c^11)))/(b^2*c^4 - 4*a*
c^5))^(1/3)) + 6*x)/c

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{c + \frac {b}{x^{3}} + \frac {a}{x^{6}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c+a/x^6+b/x^3),x, algorithm="giac")

[Out]

integrate(1/(c + b/x^3 + a/x^6), x)

________________________________________________________________________________________

maple [C]  time = 0.01, size = 59, normalized size = 0.09 \[ \frac {x}{c}+\frac {\left (-\RootOf \left (\textit {\_Z}^{6} c +\textit {\_Z}^{3} b +a \right )^{3} b -a \right ) \ln \left (-\RootOf \left (\textit {\_Z}^{6} c +\textit {\_Z}^{3} b +a \right )+x \right )}{3 c \left (2 \RootOf \left (\textit {\_Z}^{6} c +\textit {\_Z}^{3} b +a \right )^{5} c +\RootOf \left (\textit {\_Z}^{6} c +\textit {\_Z}^{3} b +a \right )^{2} b \right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(c+a/x^6+b/x^3),x)

[Out]

1/c*x+1/3/c*sum((-_R^3*b-a)/(2*_R^5*c+_R^2*b)*ln(-_R+x),_R=RootOf(_Z^6*c+_Z^3*b+a))

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \frac {x}{c} - \frac {\int \frac {b x^{3} + a}{c x^{6} + b x^{3} + a}\,{d x}}{c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c+a/x^6+b/x^3),x, algorithm="maxima")

[Out]

x/c - integrate((b*x^3 + a)/(c*x^6 + b*x^3 + a), x)/c

________________________________________________________________________________________

mupad [B]  time = 4.54, size = 2280, normalized size = 3.61 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(c + a/x^6 + b/x^3),x)

[Out]

log((3*a^2*x*(b^4 + 2*a^2*c^2 - 4*a*b^2*c))/c - (3*2^(2/3)*a*(-(b^4*(-(4*a*c - b^2)^3)^(1/2) - b^7 + 32*a^3*b*
c^3 - 32*a^2*b^3*c^2 + 2*a^2*c^2*(-(4*a*c - b^2)^3)^(1/2) + 10*a*b^5*c - 4*a*b^2*c*(-(4*a*c - b^2)^3)^(1/2))/(
c^4*(4*a*c - b^2)^3))^(1/3)*(b^4 + 2*a^2*c^2 - 4*a*b^2*c)*(b*(-(4*a*c - b^2)^3)^(1/2) + b^4 + 16*a^2*c^2 - 8*a
*b^2*c))/(4*c*(4*a*c - b^2)))*(-(b^4*(-(4*a*c - b^2)^3)^(1/2) - b^7 + 32*a^3*b*c^3 - 32*a^2*b^3*c^2 + 2*a^2*c^
2*(-(4*a*c - b^2)^3)^(1/2) + 10*a*b^5*c - 4*a*b^2*c*(-(4*a*c - b^2)^3)^(1/2))/(54*(64*a^3*c^7 - b^6*c^4 + 12*a
*b^4*c^5 - 48*a^2*b^2*c^6)))^(1/3) + x/c + log((3*a^2*x*(b^4 + 2*a^2*c^2 - 4*a*b^2*c))/c + (3*2^(2/3)*a*((b^7
+ b^4*(-(4*a*c - b^2)^3)^(1/2) - 32*a^3*b*c^3 + 32*a^2*b^3*c^2 + 2*a^2*c^2*(-(4*a*c - b^2)^3)^(1/2) - 10*a*b^5
*c - 4*a*b^2*c*(-(4*a*c - b^2)^3)^(1/2))/(c^4*(4*a*c - b^2)^3))^(1/3)*(b^4 + 2*a^2*c^2 - 4*a*b^2*c)*(b*(-(4*a*
c - b^2)^3)^(1/2) - b^4 - 16*a^2*c^2 + 8*a*b^2*c))/(4*c*(4*a*c - b^2)))*((b^7 + b^4*(-(4*a*c - b^2)^3)^(1/2) -
 32*a^3*b*c^3 + 32*a^2*b^3*c^2 + 2*a^2*c^2*(-(4*a*c - b^2)^3)^(1/2) - 10*a*b^5*c - 4*a*b^2*c*(-(4*a*c - b^2)^3
)^(1/2))/(54*(64*a^3*c^7 - b^6*c^4 + 12*a*b^4*c^5 - 48*a^2*b^2*c^6)))^(1/3) + log((3*a^2*x*(b^4 + 2*a^2*c^2 -
4*a*b^2*c))/c + (3*2^(2/3)*a*(3^(1/2)*1i - 1)*((b^7 + b^4*(-(4*a*c - b^2)^3)^(1/2) - 32*a^3*b*c^3 + 32*a^2*b^3
*c^2 + 2*a^2*c^2*(-(4*a*c - b^2)^3)^(1/2) - 10*a*b^5*c - 4*a*b^2*c*(-(4*a*c - b^2)^3)^(1/2))/(c^4*(4*a*c - b^2
)^3))^(1/3)*(b^4 + 2*a^2*c^2 - 4*a*b^2*c)*(b*(-(4*a*c - b^2)^3)^(1/2) - b^4 - 16*a^2*c^2 + 8*a*b^2*c))/(8*c*(4
*a*c - b^2)))*((3^(1/2)*1i)/2 - 1/2)*((b^7 + b^4*(-(4*a*c - b^2)^3)^(1/2) - 32*a^3*b*c^3 + 32*a^2*b^3*c^2 + 2*
a^2*c^2*(-(4*a*c - b^2)^3)^(1/2) - 10*a*b^5*c - 4*a*b^2*c*(-(4*a*c - b^2)^3)^(1/2))/(54*(64*a^3*c^7 - b^6*c^4
+ 12*a*b^4*c^5 - 48*a^2*b^2*c^6)))^(1/3) - log((3*a^2*x*(b^4 + 2*a^2*c^2 - 4*a*b^2*c))/c - (3*2^(2/3)*a*(3^(1/
2)*1i + 1)*((b^7 + b^4*(-(4*a*c - b^2)^3)^(1/2) - 32*a^3*b*c^3 + 32*a^2*b^3*c^2 + 2*a^2*c^2*(-(4*a*c - b^2)^3)
^(1/2) - 10*a*b^5*c - 4*a*b^2*c*(-(4*a*c - b^2)^3)^(1/2))/(c^4*(4*a*c - b^2)^3))^(1/3)*(b^4 + 2*a^2*c^2 - 4*a*
b^2*c)*(b*(-(4*a*c - b^2)^3)^(1/2) - b^4 - 16*a^2*c^2 + 8*a*b^2*c))/(8*c*(4*a*c - b^2)))*((3^(1/2)*1i)/2 + 1/2
)*((b^7 + b^4*(-(4*a*c - b^2)^3)^(1/2) - 32*a^3*b*c^3 + 32*a^2*b^3*c^2 + 2*a^2*c^2*(-(4*a*c - b^2)^3)^(1/2) -
10*a*b^5*c - 4*a*b^2*c*(-(4*a*c - b^2)^3)^(1/2))/(54*(64*a^3*c^7 - b^6*c^4 + 12*a*b^4*c^5 - 48*a^2*b^2*c^6)))^
(1/3) + log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(-(4*a*c - b^2)^3)^(1/2) + 10*a*b^5*c - 4*a*b^2*c*(-(4*a*c - b^2)^3)^(1/2))/(54*(64*a^3*c^7 -
 b^6*c^4 + 12*a*b^4*c^5 - 48*a^2*b^2*c^6)))^(1/3)

________________________________________________________________________________________

sympy [A]  time = 6.97, size = 196, normalized size = 0.31 \[ \operatorname {RootSum} {\left (t^{6} \left (46656 a^{3} c^{7} - 34992 a^{2} b^{2} c^{6} + 8748 a b^{4} c^{5} - 729 b^{6} c^{4}\right ) + t^{3} \left (864 a^{3} b c^{3} - 864 a^{2} b^{3} c^{2} + 270 a b^{5} c - 27 b^{7}\right ) + a^{4}, \left (t \mapsto t \log {\left (x + \frac {1296 t^{4} a^{2} b c^{6} - 648 t^{4} a b^{3} c^{5} + 81 t^{4} b^{5} c^{4} - 12 t a^{3} c^{3} + 39 t a^{2} b^{2} c^{2} - 21 t a b^{4} c + 3 t b^{6}}{2 a^{3} c^{2} - 4 a^{2} b^{2} c + a b^{4}} \right )} \right )\right )} + \frac {x}{c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c+a/x**6+b/x**3),x)

[Out]

RootSum(_t**6*(46656*a**3*c**7 - 34992*a**2*b**2*c**6 + 8748*a*b**4*c**5 - 729*b**6*c**4) + _t**3*(864*a**3*b*
c**3 - 864*a**2*b**3*c**2 + 270*a*b**5*c - 27*b**7) + a**4, Lambda(_t, _t*log(x + (1296*_t**4*a**2*b*c**6 - 64
8*_t**4*a*b**3*c**5 + 81*_t**4*b**5*c**4 - 12*_t*a**3*c**3 + 39*_t*a**2*b**2*c**2 - 21*_t*a*b**4*c + 3*_t*b**6
)/(2*a**3*c**2 - 4*a**2*b**2*c + a*b**4)))) + x/c

________________________________________________________________________________________